package cn.itzd.constant;

/**
 * @Author: dada
 * @Version: 1.0
 * @Description:
 */
public interface SystemConstants {
    /**
     * 验证码有效期（分钟）
     */
    long CAPTCHA_EXPIRATION = 2;

    String ONE = "1";
    String ZERO = "0";

    /**
     * 验证码 redis key
     */
    String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 验证码 redis key
     */
    String VERIFICATION_CODE = "sms_code:";

    /**
     * 忘记密码验证码 redis key
     */
    String FORGET_CODE = "sms_forget_code:";

    /**
     * 资源映射路径 前缀
     */
    String RESOURCE_PREFIX = "/profile";

    String NULLSTR = "";
}